package org.larkdoc.model.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 文档版本实体(对应数据库表)
 * 
 * @author  zhangpeijun[zhangpeijun1024@qq.com]
 * @version  [v1.0.1, 2017年10月17日]
 * @see  [相关类/方法]
 * @since  [产品/模块版本]
 */
public class DocRelease implements Serializable {
    /**
     * id
     * Column : doc_release.id
     *
     * @mbggenerated
     */
    private Integer id;

    /**
     * 文档id，doc_info.id
     * Column : doc_release.doc_id
     *
     * @mbggenerated
     */
    private Integer docId;

    /**
     * 名称
     * Column : doc_release.name
     *
     * @mbggenerated
     */
    private String name;

    /**
     * 标签
     * Column : doc_release.tag
     *
     * @mbggenerated
     */
    private String tag;

    /**
     * 发布版本号
     * Column : doc_release.version_no
     *
     * @mbggenerated
     */
    private String versionNo;

    /**
     * 简介
     * Column : doc_release.description
     *
     * @mbggenerated
     */
    private String description;

    /**
     * 可见范围-0：自己可见，1：群组可见，2：项目组可见(默认)，3：所有人可见
     * Column : doc_release.visible_range
     *
     * @mbggenerated
     */
    private Integer visibleRange;

    /**
     * md内容
     * Column : doc_release.md_detail
     *
     * @mbggenerated
     */
    private String mdDetail;

    /**
     * html内容
     * Column : doc_release.html_detail
     *
     * @mbggenerated
     */
    private String htmlDetail;

    /**
     * 目录信息
     * Column : doc_release.catalog
     *
     * @mbggenerated
     */
    private String catalog;

    /**
     * 文档路径
     * Column : doc_release.path
     *
     * @mbggenerated
     */
    private String path;

    /**
     * 短地址
     * Column : doc_release.short_url
     *
     * @mbggenerated
     */
    private String shortUrl;

    /**
     * 创建者
     * Column : doc_release.creator
     *
     * @mbggenerated
     */
    private String creator;

    /**
     * 数据状态-数据是否有效：0：无效,1：有效
     * Column : doc_release.is_valid
     *
     * @mbggenerated
     */
    private Integer isValid;

    /**
     * 创建时间
     * Column : doc_release.create_time
     *
     * @mbggenerated
     */
    private Date createTime;

    /**
     * 备注信息
     * Column : doc_release.remark
     *
     * @mbggenerated
     */
    private String remark;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table doc_release
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * Returns : id
     *
     * @return the value of doc_release.id
     *
     * @mbggenerated
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method sets : id
     *
     * @param id the value for doc_release.id
     *
     * @mbggenerated
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * Returns : 文档id，doc_info.id
     *
     * @return the value of doc_release.doc_id
     *
     * @mbggenerated
     */
    public Integer getDocId() {
        return docId;
    }

    /**
     * This method sets : 文档id，doc_info.id
     *
     * @param docId the value for doc_release.doc_id
     *
     * @mbggenerated
     */
    public void setDocId(Integer docId) {
        this.docId = docId;
    }

    /**
     * Returns : 名称
     *
     * @return the value of doc_release.name
     *
     * @mbggenerated
     */
    public String getName() {
        return name;
    }

    /**
     * This method sets : 名称
     *
     * @param name the value for doc_release.name
     *
     * @mbggenerated
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * Returns : 标签
     *
     * @return the value of doc_release.tag
     *
     * @mbggenerated
     */
    public String getTag() {
        return tag;
    }

    /**
     * This method sets : 标签
     *
     * @param tag the value for doc_release.tag
     *
     * @mbggenerated
     */
    public void setTag(String tag) {
        this.tag = tag == null ? null : tag.trim();
    }

    /**
     * Returns : 发布版本号
     *
     * @return the value of doc_release.version_no
     *
     * @mbggenerated
     */
    public String getVersionNo() {
        return versionNo;
    }

    /**
     * This method sets : 发布版本号
     *
     * @param versionNo the value for doc_release.version_no
     *
     * @mbggenerated
     */
    public void setVersionNo(String versionNo) {
        this.versionNo = versionNo == null ? null : versionNo.trim();
    }

    /**
     * Returns : 简介
     *
     * @return the value of doc_release.description
     *
     * @mbggenerated
     */
    public String getDescription() {
        return description;
    }

    /**
     * This method sets : 简介
     *
     * @param description the value for doc_release.description
     *
     * @mbggenerated
     */
    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    /**
     * Returns : 可见范围-0：自己可见，1：群组可见，2：项目组可见(默认)，3：所有人可见
     *
     * @return the value of doc_release.visible_range
     *
     * @mbggenerated
     */
    public Integer getVisibleRange() {
        return visibleRange;
    }

    /**
     * This method sets : 可见范围-0：自己可见，1：群组可见，2：项目组可见(默认)，3：所有人可见
     *
     * @param visibleRange the value for doc_release.visible_range
     *
     * @mbggenerated
     */
    public void setVisibleRange(Integer visibleRange) {
        this.visibleRange = visibleRange;
    }

    /**
     * Returns : md内容
     *
     * @return the value of doc_release.md_detail
     *
     * @mbggenerated
     */
    public String getMdDetail() {
        return mdDetail;
    }

    /**
     * This method sets : md内容
     *
     * @param mdDetail the value for doc_release.md_detail
     *
     * @mbggenerated
     */
    public void setMdDetail(String mdDetail) {
        this.mdDetail = mdDetail == null ? null : mdDetail.trim();
    }

    /**
     * Returns : html内容
     *
     * @return the value of doc_release.html_detail
     *
     * @mbggenerated
     */
    public String getHtmlDetail() {
        return htmlDetail;
    }

    /**
     * This method sets : html内容
     *
     * @param htmlDetail the value for doc_release.html_detail
     *
     * @mbggenerated
     */
    public void setHtmlDetail(String htmlDetail) {
        this.htmlDetail = htmlDetail == null ? null : htmlDetail.trim();
    }

    /**
     * Returns : 目录信息
     *
     * @return the value of doc_release.catalog
     *
     * @mbggenerated
     */
    public String getCatalog() {
        return catalog;
    }

    /**
     * This method sets : 目录信息
     *
     * @param catalog the value for doc_release.catalog
     *
     * @mbggenerated
     */
    public void setCatalog(String catalog) {
        this.catalog = catalog == null ? null : catalog.trim();
    }

    /**
     * Returns : 文档路径
     *
     * @return the value of doc_release.path
     *
     * @mbggenerated
     */
    public String getPath() {
        return path;
    }

    /**
     * This method sets : 文档路径
     *
     * @param path the value for doc_release.path
     *
     * @mbggenerated
     */
    public void setPath(String path) {
        this.path = path == null ? null : path.trim();
    }

    /**
     * Returns : 短地址
     *
     * @return the value of doc_release.short_url
     *
     * @mbggenerated
     */
    public String getShortUrl() {
        return shortUrl;
    }

    /**
     * This method sets : 短地址
     *
     * @param shortUrl the value for doc_release.short_url
     *
     * @mbggenerated
     */
    public void setShortUrl(String shortUrl) {
        this.shortUrl = shortUrl == null ? null : shortUrl.trim();
    }

    /**
     * Returns : 创建者
     *
     * @return the value of doc_release.creator
     *
     * @mbggenerated
     */
    public String getCreator() {
        return creator;
    }

    /**
     * This method sets : 创建者
     *
     * @param creator the value for doc_release.creator
     *
     * @mbggenerated
     */
    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    /**
     * Returns : 数据状态-数据是否有效：0：无效,1：有效
     *
     * @return the value of doc_release.is_valid
     *
     * @mbggenerated
     */
    public Integer getIsValid() {
        return isValid;
    }

    /**
     * This method sets : 数据状态-数据是否有效：0：无效,1：有效
     *
     * @param isValid the value for doc_release.is_valid
     *
     * @mbggenerated
     */
    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

    /**
     * Returns : 创建时间
     *
     * @return the value of doc_release.create_time
     *
     * @mbggenerated
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method sets : 创建时间
     *
     * @param createTime the value for doc_release.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * Returns : 备注信息
     *
     * @return the value of doc_release.remark
     *
     * @mbggenerated
     */
    public String getRemark() {
        return remark;
    }

    /**
     * This method sets : 备注信息
     *
     * @param remark the value for doc_release.remark
     *
     * @mbggenerated
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table doc_release
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", docId=").append(docId);
        sb.append(", name=").append(name);
        sb.append(", tag=").append(tag);
        sb.append(", versionNo=").append(versionNo);
        sb.append(", description=").append(description);
        sb.append(", visibleRange=").append(visibleRange);
        sb.append(", mdDetail=").append(mdDetail);
        sb.append(", htmlDetail=").append(htmlDetail);
        sb.append(", catalog=").append(catalog);
        sb.append(", path=").append(path);
        sb.append(", shortUrl=").append(shortUrl);
        sb.append(", creator=").append(creator);
        sb.append(", isValid=").append(isValid);
        sb.append(", createTime=").append(createTime);
        sb.append(", remark=").append(remark);
        sb.append("]");
        return sb.toString();
    }
}